<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/ftp.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">ftp.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d6/d53/ftp_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#ifndef __FTP_HPP__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#define __FTP_HPP__</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &lt;curl/curl.h&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#include &lt;atomic&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#include &lt;fstream&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#include &quot;<a class="code" href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a>&quot;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">#include &quot;<a class="code" href="../../df/d78/tribool_8hpp.html">tribool.hpp</a>&quot;</span>     <span class="comment">// 三值布尔</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../df/d8d/namespacewheels.html">wheels</a> {</div>
<div class="foldopen" id="foldopen00021" data-start="{" data-end="};">
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html">   21</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d2/d96/classwheels_1_1rc_ftp.html">rcFtp</a> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>{</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>        <span class="keyword">friend</span> <span class="keywordtype">size_t</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#a1c938fd613f155400fd8332835359f7c">ftp_write_callback</a>(<span class="keywordtype">char</span> *ptr, <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a>, <span class="keywordtype">size_t</span> nmemb, <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>        <span class="keyword">friend</span> <span class="keywordtype">size_t</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#a5ae893c969c2ac5d8ba25739abc68730">ftp_read_callback</a>(<span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a>, <span class="keywordtype">size_t</span> nitems, <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>        <span class="keyword">friend</span> <span class="keywordtype">size_t</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#a57c3e910f6269807ad612ff5b4b281c8">on_ftp_size</a>( <span class="keywordtype">char</span> *ptr, <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a>, <span class="keywordtype">size_t</span> nmemb, <span class="keywordtype">void</span> *userdata );</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>        <span class="keyword">friend</span> <span class="keywordtype">size_t</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#abe03125733ec7a3f07754578f06a3781">on_nlist</a>( <span class="keywordtype">char</span> *ptr, <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a>, <span class="keywordtype">size_t</span> nmemb, <span class="keywordtype">void</span> *userdata );</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>        <span class="keyword">friend</span> <span class="keywordtype">size_t</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#ad30d7938b76217dec401f1e4872fe70e">onConnectCb</a>( <span class="keywordtype">char</span> * , <span class="keywordtype">size_t</span> , <span class="keywordtype">size_t</span> , <span class="keywordtype">void</span> *);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>        <span class="keyword">friend</span> <span class="keywordtype">size_t</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#ad907952d4633c663a0140a166182e127">onChkInst</a>(<span class="keywordtype">char</span> *buffer,   <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a>,   <span class="keywordtype">size_t</span> nitems,   <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>        <span class="keyword">friend</span> <span class="keywordtype">size_t</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#acacdb16f13dfa548fed1489bb0377672">ftp_write_cb_data</a>(<span class="keywordtype">char</span> *ptr, <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a>, <span class="keywordtype">size_t</span> nmemb, <span class="keywordtype">void</span> *userdata);</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>        <span class="keyword">friend</span> <span class="keywordtype">int</span> <a class="code hl_friend" href="../../d2/d96/classwheels_1_1rc_ftp.html#af7f64eceebc17730a633c60e90147b75">on_upld_progress</a>(<span class="keywordtype">void</span> *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow);</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a7ec1b9fc998df668f7186d4aec49a1f6">   32</a></span>        <span class="keyword">typedef</span> size_t (*<a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#a7ec1b9fc998df668f7186d4aec49a1f6">curlFun</a>)( <span class="keywordtype">char</span> * , size_t , size_t , <span class="keywordtype">void</span> *  );</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#ab800a89be4ff0b6ab1bfba59c2788853">   33</a></span>        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="../../d2/d96/classwheels_1_1rc_ftp.html#ab800a89be4ff0b6ab1bfba59c2788853">DEFAULT_BUF_SIZE</a>;</div>
<div class="foldopen" id="foldopen00034" data-start="{" data-end="};">
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">   34</a></span>        <span class="keyword">enum</span> <a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">emErrCode</a>{</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a57be3b133bf2e9378a2efe97b51c3fb2">   35</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a57be3b133bf2e9378a2efe97b51c3fb2">ERR_DOWNLOAD_OSS</a> = -10000,                   <span class="comment">// oss下载失败</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a85f976ec2733a78b6e26574ac8a034ce">   36</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a85f976ec2733a78b6e26574ac8a034ce">ERR_SYS_VAR</a>,</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ae399538b7187b996273121ccf83f39f7">   37</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ae399538b7187b996273121ccf83f39f7">ERR_CANCEL_TRANSFER</a>,</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a9f0359eb92872f327d8c040972e0aa96">   38</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a9f0359eb92872f327d8c040972e0aa96">ERR_UNSUPPORTED_PROTOCOL</a>,           <span class="comment">// CURL不支持指定协议</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ab31dbeea926e1b17b21f355a35478801">   39</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ab31dbeea926e1b17b21f355a35478801">ERR_INIT_CURL</a>,                      <span class="comment">// 初始化CURL错误</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a58697629c54b7f90ba8b8588b55a1634">   40</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a58697629c54b7f90ba8b8588b55a1634">ERR_CONNECT_SVR</a>,                    <span class="comment">// 连接服务器错误</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ae2d668e399be67d0a3f3cc767808f0ec">   41</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ae2d668e399be67d0a3f3cc767808f0ec">ERR_FILE_DOWNLOAD_TRANSFER</a>,         <span class="comment">// 下载传输过程错误</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a506da0c602b0f42250ca8875ac55b283">   42</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a506da0c602b0f42250ca8875ac55b283">ERR_FILE_UPLOAD_TRANSFER</a> ,          <span class="comment">// 上传文件传输过程错误</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500af35653e0d0214f8ca0f074aa68a0573f">   43</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500af35653e0d0214f8ca0f074aa68a0573f">ERR_CTX_NULL</a>,                       <span class="comment">// CURL 上下文对象空</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a14ce1665a7ba0d092f7c975bd4a7b0ba">   44</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a14ce1665a7ba0d092f7c975bd4a7b0ba">ERR_ALLOC_MEM</a>,                      <span class="comment">// 内存分配失败</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a135e0b2e18337d431c1a0055f271f306">   45</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a135e0b2e18337d431c1a0055f271f306">ERR_CREATE_DEST_FILE</a>,               <span class="comment">// 创建目的文件失败</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a5f8a48d3b74b8faebe6274292b91c94d">   46</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a5f8a48d3b74b8faebe6274292b91c94d">ERR_CURL_SET_OPT</a>,                   <span class="comment">// 配置CURL参数失败</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a388e14633750596d20f73c78a1d17781">   47</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a388e14633750596d20f73c78a1d17781">ERR_USER_OR_PSWD</a>,                   <span class="comment">// 用户名或者密码错误</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a730be047d872c8a37c256c6ccb04a63d">   48</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a730be047d872c8a37c256c6ccb04a63d">ERR_CURL_PERFORM</a>,                   <span class="comment">// 执行CURL失败</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500aecda94542646d011fc0b2c3a7e69cb76">   49</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500aecda94542646d011fc0b2c3a7e69cb76">ERR_OPEN_LOC_FILE</a>,                  <span class="comment">// 打开本地文件失败</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a06751cc8d3012f9285be0d2915b2504c">   50</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a06751cc8d3012f9285be0d2915b2504c">ERR_NO_SRC_FILE</a>,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a0c24565f4521f10be570cf55f07cac9e">   51</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a0c24565f4521f10be570cf55f07cac9e">ERR_DESC_NULL</a>,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a74485d2f48db2ea076e8a41524f990d6">   52</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a74485d2f48db2ea076e8a41524f990d6">ERR_EMPTY_URL</a>,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500abd9249e5d19f7ca87445dcaf303a7892">   53</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500abd9249e5d19f7ca87445dcaf303a7892">ERR_FILE_NOT_FOUND</a>,                 <span class="comment">// 远程文件不存在</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a810fbb254dabf3d0a07ba03fd447ad3f">   54</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a810fbb254dabf3d0a07ba03fd447ad3f">ERR_ACCESS_NOT_SUPPORT</a>,             <span class="comment">//</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a50291bde0d6a2468c3ef4600cbb78909">   55</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a50291bde0d6a2468c3ef4600cbb78909">STATUS_TRANS_FINISH</a>,                <span class="comment">// 数据传输完成</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a3c817835336a6b5d0cfbc8bc6637d1b7">   56</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a3c817835336a6b5d0cfbc8bc6637d1b7">STATUS_TRANSING</a>,                    <span class="comment">// 数据正在传输</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500afd5eebb20fcad81dd647c7bfc24ea8f3">   57</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500afd5eebb20fcad81dd647c7bfc24ea8f3">ERR_INIT_FTP</a>,</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a8f8042fdddc4dd5b88a898a90934ba9a">   58</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a8f8042fdddc4dd5b88a898a90934ba9a">ERR_DELE_OSS_FILE</a>,</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a88944b46bd8f68b91aeaa5197d49a488">   59</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a88944b46bd8f68b91aeaa5197d49a488">ERR_LS_OSS_FILE</a>,</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500abd12f5d763a9f9db7b5ddbd579ef8db9">   60</a></span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500abd12f5d763a9f9db7b5ddbd579ef8db9">ERR_UPLOAD_OSS</a>,</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>            <a class="code hl_enumvalue" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a229a1f0e9f3a3ef0a1612543d7cfd476">OK</a> = 0</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a229a1f0e9f3a3ef0a1612543d7cfd476">   62</a></span>        };</div>
</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">   63</a></span>        <span class="keyword">using </span><a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">errCode</a> = <a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">emErrCode</a>;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
<div class="foldopen" id="foldopen00065" data-start="{" data-end="};">
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html">   65</a></span>        <span class="keyword">struct </span><a class="code hl_struct" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html">stParams</a>{</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">   66</a></span>                <span class="keywordtype">bool</span>     <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">m_passive</a>;</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">   67</a></span>                <span class="keywordtype">bool</span>     <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">bin_ascii</a>;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">   68</a></span>                <span class="keywordtype">size_t</span>   <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">buf_size</a>;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5c96f02e2d9b923f0bd86f742c4b9e64">   69</a></span>                <a class="code hl_function" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5c96f02e2d9b923f0bd86f742c4b9e64">stParams</a>():<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">m_passive</a>( false ) , <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">bin_ascii</a>( true ),<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">buf_size</a>( <a class="code hl_variable" href="../../d2/d96/classwheels_1_1rc_ftp.html#ab800a89be4ff0b6ab1bfba59c2788853">DEFAULT_BUF_SIZE</a> ){ }</div>
<div class="foldopen" id="foldopen00070" data-start="{" data-end="}">
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#ae0389a8101355baa187a95fca01f235e">   70</a></span>                <a class="code hl_function" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#ae0389a8101355baa187a95fca01f235e">stParams</a>( <span class="keywordtype">bool</span> p , <span class="keywordtype">bool</span> b , <span class="keywordtype">size_t</span> s = <a class="code hl_variable" href="../../d2/d96/classwheels_1_1rc_ftp.html#ab800a89be4ff0b6ab1bfba59c2788853">DEFAULT_BUF_SIZE</a> )</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>                {</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">m_passive</a> = p;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">bin_ascii</a> = b;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">buf_size</a> = s;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>                }</div>
</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span> </div>
<div class="foldopen" id="foldopen00077" data-start="{" data-end="}">
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a081df58543043d34a00597cec22b1f85">   77</a></span>                <a class="code hl_function" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a081df58543043d34a00597cec22b1f85">stParams</a>( <span class="keyword">const</span> <a class="code hl_struct" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html">stParams</a>&amp; b )</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>                {</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">m_passive</a> = b.<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">m_passive</a>;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">bin_ascii</a> = b.<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">bin_ascii</a>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">buf_size</a> = b.<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">buf_size</a>;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>                }</div>
</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="foldopen" id="foldopen00084" data-start="{" data-end="}">
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afd47e48e8482aca153dd1cdf83b110e3">   84</a></span>                <a class="code hl_struct" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html">stParams</a>&amp; <a class="code hl_function" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afd47e48e8482aca153dd1cdf83b110e3">operator=</a>( <span class="keyword">const</span> <a class="code hl_struct" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html">stParams</a>&amp; b )</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>                {</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">m_passive</a> = b.<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">m_passive</a>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">bin_ascii</a> = b.<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">bin_ascii</a>;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>                        <a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">buf_size</a> = b.<a class="code hl_variable" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">buf_size</a>;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>                        <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>                }</div>
</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>        };</div>
</div>
<div class="foldopen" id="foldopen00097" data-start="{" data-end="};">
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html">   97</a></span>        <span class="keyword">struct </span><a class="code hl_struct" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html">stTransmit</a>{</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aacb4e5c0a7f16ff494a00ae5427371d4">   98</a></span>                <a class="code hl_class" href="../../d2/d96/classwheels_1_1rc_ftp.html">rcFtp</a>         * <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aacb4e5c0a7f16ff494a00ae5427371d4">p_ftp</a>;              <span class="comment">// FTP对象指针</span></div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aac68696c5de01b0d5ee3d4af64f1f6fc">   99</a></span>                <a class="code hl_typedef" href="../../df/d78/tribool_8hpp.html#a74ed90a757246608e85275a8d14511c2">tribool_t</a>       <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aac68696c5de01b0d5ee3d4af64f1f6fc">m_type</a>;             <span class="comment">// 传输类型, triTrue下载，triFalse上传</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#af29acc37562e21cd1bfbf1791ac0af84">  100</a></span>                std::string     <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#af29acc37562e21cd1bfbf1791ac0af84">m_from</a>;             <span class="comment">// 源文件URL</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#ad60847eac4385e2aa14bb3e36e3a101c">  101</a></span>                std::string     <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#ad60847eac4385e2aa14bb3e36e3a101c">m_dest</a>;             <span class="comment">// 目标文件路径</span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a97145fb81da64fa0c26955e8f23bab7a">  102</a></span>                std::ofstream * <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a97145fb81da64fa0c26955e8f23bab7a">p_os</a>;               <span class="comment">// 写入文件对象</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a5c0b0f0fb78f3d74dfaeec350829197b">  103</a></span>                std::ifstream   <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a5c0b0f0fb78f3d74dfaeec350829197b">m_is</a>;           <span class="comment">// 读取文件对象</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a7ba4196f2d16fb07dcf844bac4743cce">  104</a></span>                <span class="keywordtype">size_t</span>          <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a7ba4196f2d16fb07dcf844bac4743cce">m_buf_size</a>;         <span class="comment">// 缓冲区大小</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a9ea69ff54b6824d627bb9bd54e870ee1">  105</a></span>                <span class="keywordtype">size_t</span>          <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a9ea69ff54b6824d627bb9bd54e870ee1">m_data_size</a>;        <span class="comment">// 缓冲区中数据大小</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aeb22cb0b7b8d8f4ce849aa3dca504675">  106</a></span>                <span class="keywordtype">char</span>          * <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aeb22cb0b7b8d8f4ce849aa3dca504675">p_buffer</a>;           <span class="comment">// 数据指针</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a5dda9ee987ee4c1ed3c504c7fbfe8ad5">  109</a></span>                <span class="keywordtype">char</span>          * <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a5dda9ee987ee4c1ed3c504c7fbfe8ad5">p_final_buffer</a>;     <span class="comment">// 最终数据指针</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a576617b553ffd015daf60c7145e3da05">  110</a></span>        <span class="keywordtype">size_t</span>          <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a576617b553ffd015daf60c7145e3da05">m_final_off</a>;        <span class="comment">// 当前数据写入位置</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a94fd293fab76f005a4cff14ce4145668">  112</a></span>                <a class="code hl_function" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a94fd293fab76f005a4cff14ce4145668">stTransmit</a>() : <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aacb4e5c0a7f16ff494a00ae5427371d4">p_ftp</a>( nullptr ) , <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a97145fb81da64fa0c26955e8f23bab7a">p_os</a>( nullptr ) ,<a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a7ba4196f2d16fb07dcf844bac4743cce">m_buf_size</a>( 0 ),<a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a9ea69ff54b6824d627bb9bd54e870ee1">m_data_size</a>(0),<a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aeb22cb0b7b8d8f4ce849aa3dca504675">p_buffer</a>( nullptr ), <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a5dda9ee987ee4c1ed3c504c7fbfe8ad5">p_final_buffer</a>( nullptr ),<a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a576617b553ffd015daf60c7145e3da05">m_final_off</a>( 0 ){}</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a792262bcdfc07b6b4525015981e4ae2e">  113</a></span>                <a class="code hl_function" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a792262bcdfc07b6b4525015981e4ae2e">~stTransmit</a>(){ <span class="keywordflow">if</span>( <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aeb22cb0b7b8d8f4ce849aa3dca504675">p_buffer</a> ) free( <a class="code hl_variable" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aeb22cb0b7b8d8f4ce849aa3dca504675">p_buffer</a>); }</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>        };</div>
</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="preprocessor">#if defined( __TEST__ )</span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>        CURL                   * p_ctx;         <span class="comment">// 这是一个一直存在CURL句柄，用来处理和侦测服务</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>        std::string              m_remote_add;      <span class="comment">// 远程服务器地址，不包含文件路径</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>        <span class="keywordtype">int</span>                      m_port;            <span class="comment">// 远程服务器监听地址</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>        std::string              m_remote_path;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>        std::string              m_local_path;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>        std::string              m_usr;             <span class="comment">// 用户账户</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>        std::string              m_pswd;            <span class="comment">// 用户密码</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>        <a class="code hl_struct" href="../../d5/dd4/structst_params.html">stParams</a>                 m_params;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>        <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>              m_files;           <span class="comment">// 远程文件列表</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>        <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>              m_dests;           <span class="comment">// 本地文件列表</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>        <span class="keywordtype">size_t</span>                   m_file_size;       <span class="comment">// 当前文件大小</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>        std::atomic&lt; bool &gt;      m_d_u;             <span class="comment">// 分别上传或者是下载 , true上传，false下载</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>        std::atomic&lt; tribool_t &gt;      m_pause;      <span class="comment">// 传输暂停操作记录，triTrue 暂停，triReady 传输 ，triFalse, 取消传输</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>        std::atomic&lt; bool &gt;      m_is_running;      <span class="comment">// 上传或者是下载是否正在运行</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>        std::function&lt; void ( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> , <span class="keywordtype">size_t</span> ) &gt;  dwld_cb;</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span>        std::function&lt; void ( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> , <span class="keywordtype">size_t</span> , <span class="keywordtype">int</span> , <span class="keyword">const</span> std::string&amp; ) &gt; dwld_cb_ary;</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>        std::function&lt; void ( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> , <span class="keywordtype">size_t</span> , <span class="keywordtype">int</span> , <span class="keyword">const</span> std::string&amp; )&gt; run_cb;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>        std::function&lt; void ( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> , <span class="keywordtype">size_t</span> ) &gt; upld_cb;</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span><span class="preprocessor">#if defined( __TEST__ )</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>        <span class="keywordtype">void</span> __init_fsm();</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>        <span class="keywordtype">bool</span> __connect();</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>        <span class="keywordtype">bool</span> __chk_svr();</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>        <span class="keywordtype">void</span> do_process_error( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> e );</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> real_download( <span class="keyword">const</span> std::string&amp; from , <span class="keyword">const</span> std::string&amp; to );</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> __real_download( <span class="keyword">const</span> std::string&amp; from , <span class="keywordtype">char</span> * data  );</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span> </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>        <span class="keywordtype">void</span> wait_finish( <span class="keywordtype">bool</span> forceFinish = <span class="keyword">true</span> );</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>        <span class="keywordtype">int</span> do_process_save_file( stTransmit * desc );</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span>        <span class="keywordtype">void</span> remody_url( <span class="keyword">const</span> std::string&amp; from , <span class="keyword">const</span> std::string&amp; dest );</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span>        <span class="keywordtype">size_t</span> on_read_data( <span class="keywordtype">char</span> * <a class="code hl_class" href="../../d5/d36/classwheels_1_1buff.html">buff</a> , <span class="keywordtype">size_t</span> reqLen );</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>        <span class="keywordtype">bool</span> is_anonymous();</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span>        <span class="keywordtype">void</span> do_process_cmd( stTransmit * desc );</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span>        <span class="keywordtype">size_t</span> __size( <span class="keyword">const</span> std::string&amp; file );</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> __enCmdCh( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#a7ec1b9fc998df668f7186d4aec49a1f6">curlFun</a> fun );</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> __disEnCmdCh();</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> __real_upload( <span class="keyword">const</span> std::string&amp; local , <span class="keyword">const</span> std::string&amp; remote);</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span>        std::ifstream __init_local_file( <span class="keyword">const</span> std::string&amp; file );</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>        <span class="keywordtype">void</span> __init_upload_trans_info( <span class="keyword">const</span> std::string&amp; local , <span class="keyword">const</span> std::string&amp; remote , stTransmit&amp; info );</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>        CURLcode __init_upload_curl( CURL * ctx , stTransmit&amp; trans );</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span> </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>        <span class="keywordtype">void</span> __do_process_err( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> e );</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> __access( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span>        <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a286dffee1f99de52317fad56fc97c3b5">rcFtp</a>();</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span>        <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a286dffee1f99de52317fad56fc97c3b5">rcFtp</a>( <span class="keyword">const</span> std::string&amp; url );</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span>        <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a286dffee1f99de52317fad56fc97c3b5">rcFtp</a>( <span class="keyword">const</span> <a class="code hl_struct" href="../../d5/dd4/structst_params.html">stParams</a>&amp; params );</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a62c80443e5766c330c895acf6c0bc222">  279</a></span>        <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a62c80443e5766c330c895acf6c0bc222">rcFtp</a>( <span class="keyword">const</span> std::string&amp; remote , <span class="keyword">const</span> <a class="code hl_struct" href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html">stParams</a>&amp; params );</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span> </div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span>        <span class="keyword">virtual</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a82732fc970ea493e02771db2ab8ae2f0">~rcFtp</a>();</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a368a7dc259362e10ab59c874d18fd1a4">onSize</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * data , <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a> );</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span>        <span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a7fde73a8954d696d4c20036f2b2fb88a">on_pause</a>( <a class="code hl_typedef" href="../../df/d78/tribool_8hpp.html#a74ed90a757246608e85275a8d14511c2">tribool_t</a> status );</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a699e7c42cc9eb9adced71bde2df27bc9">__on_progress_dwld</a>( <span class="keywordtype">size_t</span> now );</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno">  297</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#ab4776842675fcdd5f9603eff0f08ac34">__on_progress</a>( <span class="keywordtype">size_t</span> now );</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span> </div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#af753d5035f92140059811ef91a3a65c9">__onChkInst</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * data , <span class="keywordtype">size_t</span> len );</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4088d2e9ea38594ae90d1442735a64f2">__onConnect</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * data , <span class="keywordtype">size_t</span> len );</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno">  314</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#aef9602119ae2ab047761aedee7102589">__onConnectErr</a>();</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span>        <span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a6d70210f18843851ad3923b3404ad215">on_recv</a>( <a class="code hl_struct" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html">stTransmit</a> * desc );</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span>        <span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a6737af239f3babc772fdab3872184f8e">on_recv_data</a>( <a class="code hl_struct" href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html">stTransmit</a> * desc );</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span> </div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a3e0bd8aa3933ad5b87c99017c6a21b31">download</a>( <span class="keyword">const</span> std::string&amp; from , <span class="keyword">const</span> std::string&amp; dest = <span class="stringliteral">&quot;&quot;</span> , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> );</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a3e0bd8aa3933ad5b87c99017c6a21b31">download</a>( <span class="keyword">const</span> std::string&amp; from , <span class="keyword">const</span> std::string&amp; dest , std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">errCode</a> , <span class="keywordtype">size_t</span>  ) &gt; cb , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> );</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a3e0bd8aa3933ad5b87c99017c6a21b31">download</a>( <span class="keyword">const</span> std::string&amp; from , <span class="keywordtype">char</span> * buffer , std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">errCode</a> , <span class="keywordtype">size_t</span> ) &gt; cb , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) ;</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a3e0bd8aa3933ad5b87c99017c6a21b31">download</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; from , <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; dest , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) ;</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a3e0bd8aa3933ad5b87c99017c6a21b31">download</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; from , <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; dest , std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">errCode</a> , <span class="keywordtype">size_t</span> ) &gt; cb, <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) ;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63">upload</a>( <span class="keyword">const</span> std::string&amp; file ,  <span class="keyword">const</span> std::string&amp; remote_file ,  <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) ;</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno">  362</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63">upload</a>( <span class="keyword">const</span> std::string&amp; file ,  <span class="keyword">const</span> std::string&amp; remote_file, std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">errCode</a> , <span class="keywordtype">size_t</span> )&gt; cb ,<span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) ;</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63">upload</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; from , <span class="keywordtype">bool</span> autoRun = <span class="keyword">true</span> ) ;</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63">upload</a>( <span class="keyword">const</span> <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; file , std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_enumeration" href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">errCode</a> , <span class="keywordtype">size_t</span> )&gt; cb , <span class="keywordtype">bool</span> autoRun ) ;</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#abd71928204de24bea4388645d2c8fb04">del</a>( <span class="keyword">const</span> std::string&amp; file ) ;</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#aac753eda3a47f490bcce380af065eb83">setUser</a>( <span class="keyword">const</span> std::string&amp; acc , <span class="keyword">const</span> std::string&amp; pswd ) ;</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#ab797fd58cb4433b3067e3c80c503049b">  383</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#ab797fd58cb4433b3067e3c80c503049b">addUrl</a>( <span class="keyword">const</span> std::string&amp; url ){(void)url;}</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#ae326399018fc357f1044105305f00981">run</a>() ;</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#ae326399018fc357f1044105305f00981">run</a>( std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> , <span class="keywordtype">size_t</span> , <span class="keywordtype">int</span> , <span class="keyword">const</span> std::string&amp; ) &gt; cb ) ;</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2e31484259747fa3449446a005e92f53">ls</a>( <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; rst ) ;</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno">  390</span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2e31484259747fa3449446a005e92f53">ls</a>( std::function&lt; <span class="keywordtype">void</span> ( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> , <a class="code hl_typedef" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a>&amp; ) &gt; cb ) ;</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#af2c2156ea5ae336749a9961bf69fa448">access</a>( <span class="keyword">const</span> std::string&amp; url , <span class="keywordtype">int</span> type ) ;</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno">  402</span>        <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#abf6786c7a86c028f0053082e2e1c4e7b">cd</a>( <span class="keyword">const</span> std::string&amp; path ) ;</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">  408</a></span>        <span class="keyword">inline</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">size</a>( <span class="keyword">const</span> std::string&amp; file ) { <span class="keywordflow">return</span> __size( file ); }</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span> </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span>        <span class="keyword">static</span> std::string <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a9d18c1e33916f5cfd5ec5337a1a83bf0">errMsg</a>( <a class="code hl_typedef" href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">errCode</a> e );</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span> </div>
<div class="foldopen" id="foldopen00412" data-start="{" data-end="}">
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#a3d13abea83b4655e246343312b84efe5">  412</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#a3d13abea83b4655e246343312b84efe5">pause</a>(){</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span>            <span class="comment">/*if( p_ctx ){</span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span><span class="comment">                curl_easy_pause(p_ctx, CURLPAUSE_ALL);</span></div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span><span class="comment">            }*/</span></div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno">  416</span>            m_pause = triFalse;</div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span>        }</div>
</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span> </div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"><a class="line" href="../../d2/d96/classwheels_1_1rc_ftp.html#af65aae7b4ab5d806c0c89867dc35d7f1">  419</a></span>        <a class="code hl_typedef" href="../../df/d78/tribool_8hpp.html#a74ed90a757246608e85275a8d14511c2">tribool_t</a> <a class="code hl_function" href="../../d2/d96/classwheels_1_1rc_ftp.html#af65aae7b4ab5d806c0c89867dc35d7f1">isPause</a>(){  <span class="keywordflow">return</span> m_pause.load(); }</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span>};</div>
</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno">  421</span>}</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno">  422</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aary__str_8hpp_html"><div class="ttname"><a href="../../d3/df7/ary__str_8hpp.html">ary_str.hpp</a></div></div>
<div class="ttc" id="aclasswheels_1_1buff_html"><div class="ttname"><a href="../../d5/d36/classwheels_1_1buff.html">wheels::buff</a></div><div class="ttdef"><b>定义</b> <a href="../../dd/da6/buffer_block_8hpp_source.html#l00017">bufferBlock.hpp:18</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html">wheels::rcFtp</a></div><div class="ttdef"><b>定义</b> <a href="#l00021">ftp.hpp:22</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a1c938fd613f155400fd8332835359f7c"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a1c938fd613f155400fd8332835359f7c">wheels::rcFtp::ftp_write_callback</a></div><div class="ttdeci">friend size_t ftp_write_callback(char *ptr, size_t size, size_t nmemb, void *userdata)</div><div class="ttdoc">CURL 本地写入回调函数</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00074">ftp.cpp:74</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a2587dfd75a0fa9e9107eaa7cdb545a63"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63">wheels::rcFtp::upload</a></div><div class="ttdeci">bool upload(const std::string &amp;file, const std::string &amp;remote_file, bool autoRun=true)</div><div class="ttdoc">上传文件到服务器</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00717">ftp.cpp:717</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a286dffee1f99de52317fad56fc97c3b5"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a286dffee1f99de52317fad56fc97c3b5">wheels::rcFtp::rcFtp</a></div><div class="ttdeci">rcFtp()</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00197">ftp.cpp:197</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a2e31484259747fa3449446a005e92f53"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a2e31484259747fa3449446a005e92f53">wheels::rcFtp::ls</a></div><div class="ttdeci">errCode ls(ArrayString &amp;rst)</div><div class="ttdoc">列出远程目录内容</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00874">ftp.cpp:874</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a368a7dc259362e10ab59c874d18fd1a4"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a368a7dc259362e10ab59c874d18fd1a4">wheels::rcFtp::onSize</a></div><div class="ttdeci">void onSize(const char *data, size_t size)</div><div class="ttdoc">读取文件大小响应函数</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01114">ftp.cpp:1114</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a3d13abea83b4655e246343312b84efe5"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a3d13abea83b4655e246343312b84efe5">wheels::rcFtp::pause</a></div><div class="ttdeci">void pause()</div><div class="ttdef"><b>定义</b> <a href="#l00412">ftp.hpp:412</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a3e0bd8aa3933ad5b87c99017c6a21b31"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a3e0bd8aa3933ad5b87c99017c6a21b31">wheels::rcFtp::download</a></div><div class="ttdeci">bool download(const std::string &amp;from, const std::string &amp;dest=&quot;&quot;, bool autoRun=true)</div><div class="ttdoc">执行下载操作，这个函数会阻塞程序运行，直到完成操作</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00517">ftp.cpp:517</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4088d2e9ea38594ae90d1442735a64f2"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4088d2e9ea38594ae90d1442735a64f2">wheels::rcFtp::__onConnect</a></div><div class="ttdeci">void __onConnect(const char *data, size_t len)</div><div class="ttdoc">响应连接操作的过程中的数据回调</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01293">ftp.cpp:1293</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500">wheels::rcFtp::emErrCode</a></div><div class="ttdeci">emErrCode</div><div class="ttdef"><b>定义</b> <a href="#l00034">ftp.hpp:34</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a06751cc8d3012f9285be0d2915b2504c"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a06751cc8d3012f9285be0d2915b2504c">wheels::rcFtp::ERR_NO_SRC_FILE</a></div><div class="ttdeci">@ ERR_NO_SRC_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00050">ftp.hpp:50</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a0c24565f4521f10be570cf55f07cac9e"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a0c24565f4521f10be570cf55f07cac9e">wheels::rcFtp::ERR_DESC_NULL</a></div><div class="ttdeci">@ ERR_DESC_NULL</div><div class="ttdef"><b>定义</b> <a href="#l00051">ftp.hpp:51</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a135e0b2e18337d431c1a0055f271f306"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a135e0b2e18337d431c1a0055f271f306">wheels::rcFtp::ERR_CREATE_DEST_FILE</a></div><div class="ttdeci">@ ERR_CREATE_DEST_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00045">ftp.hpp:45</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a14ce1665a7ba0d092f7c975bd4a7b0ba"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a14ce1665a7ba0d092f7c975bd4a7b0ba">wheels::rcFtp::ERR_ALLOC_MEM</a></div><div class="ttdeci">@ ERR_ALLOC_MEM</div><div class="ttdef"><b>定义</b> <a href="#l00044">ftp.hpp:44</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a229a1f0e9f3a3ef0a1612543d7cfd476"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a229a1f0e9f3a3ef0a1612543d7cfd476">wheels::rcFtp::OK</a></div><div class="ttdeci">@ OK</div><div class="ttdef"><b>定义</b> <a href="#l00062">ftp.hpp:61</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a388e14633750596d20f73c78a1d17781"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a388e14633750596d20f73c78a1d17781">wheels::rcFtp::ERR_USER_OR_PSWD</a></div><div class="ttdeci">@ ERR_USER_OR_PSWD</div><div class="ttdef"><b>定义</b> <a href="#l00047">ftp.hpp:47</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a3c817835336a6b5d0cfbc8bc6637d1b7"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a3c817835336a6b5d0cfbc8bc6637d1b7">wheels::rcFtp::STATUS_TRANSING</a></div><div class="ttdeci">@ STATUS_TRANSING</div><div class="ttdef"><b>定义</b> <a href="#l00056">ftp.hpp:56</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a50291bde0d6a2468c3ef4600cbb78909"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a50291bde0d6a2468c3ef4600cbb78909">wheels::rcFtp::STATUS_TRANS_FINISH</a></div><div class="ttdeci">@ STATUS_TRANS_FINISH</div><div class="ttdef"><b>定义</b> <a href="#l00055">ftp.hpp:55</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a506da0c602b0f42250ca8875ac55b283"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a506da0c602b0f42250ca8875ac55b283">wheels::rcFtp::ERR_FILE_UPLOAD_TRANSFER</a></div><div class="ttdeci">@ ERR_FILE_UPLOAD_TRANSFER</div><div class="ttdef"><b>定义</b> <a href="#l00042">ftp.hpp:42</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a57be3b133bf2e9378a2efe97b51c3fb2"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a57be3b133bf2e9378a2efe97b51c3fb2">wheels::rcFtp::ERR_DOWNLOAD_OSS</a></div><div class="ttdeci">@ ERR_DOWNLOAD_OSS</div><div class="ttdef"><b>定义</b> <a href="#l00035">ftp.hpp:35</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a58697629c54b7f90ba8b8588b55a1634"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a58697629c54b7f90ba8b8588b55a1634">wheels::rcFtp::ERR_CONNECT_SVR</a></div><div class="ttdeci">@ ERR_CONNECT_SVR</div><div class="ttdef"><b>定义</b> <a href="#l00040">ftp.hpp:40</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a5f8a48d3b74b8faebe6274292b91c94d"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a5f8a48d3b74b8faebe6274292b91c94d">wheels::rcFtp::ERR_CURL_SET_OPT</a></div><div class="ttdeci">@ ERR_CURL_SET_OPT</div><div class="ttdef"><b>定义</b> <a href="#l00046">ftp.hpp:46</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a730be047d872c8a37c256c6ccb04a63d"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a730be047d872c8a37c256c6ccb04a63d">wheels::rcFtp::ERR_CURL_PERFORM</a></div><div class="ttdeci">@ ERR_CURL_PERFORM</div><div class="ttdef"><b>定义</b> <a href="#l00048">ftp.hpp:48</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a74485d2f48db2ea076e8a41524f990d6"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a74485d2f48db2ea076e8a41524f990d6">wheels::rcFtp::ERR_EMPTY_URL</a></div><div class="ttdeci">@ ERR_EMPTY_URL</div><div class="ttdef"><b>定义</b> <a href="#l00052">ftp.hpp:52</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a810fbb254dabf3d0a07ba03fd447ad3f"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a810fbb254dabf3d0a07ba03fd447ad3f">wheels::rcFtp::ERR_ACCESS_NOT_SUPPORT</a></div><div class="ttdeci">@ ERR_ACCESS_NOT_SUPPORT</div><div class="ttdef"><b>定义</b> <a href="#l00054">ftp.hpp:54</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a85f976ec2733a78b6e26574ac8a034ce"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a85f976ec2733a78b6e26574ac8a034ce">wheels::rcFtp::ERR_SYS_VAR</a></div><div class="ttdeci">@ ERR_SYS_VAR</div><div class="ttdef"><b>定义</b> <a href="#l00036">ftp.hpp:36</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a88944b46bd8f68b91aeaa5197d49a488"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a88944b46bd8f68b91aeaa5197d49a488">wheels::rcFtp::ERR_LS_OSS_FILE</a></div><div class="ttdeci">@ ERR_LS_OSS_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00059">ftp.hpp:59</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a8f8042fdddc4dd5b88a898a90934ba9a"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a8f8042fdddc4dd5b88a898a90934ba9a">wheels::rcFtp::ERR_DELE_OSS_FILE</a></div><div class="ttdeci">@ ERR_DELE_OSS_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00058">ftp.hpp:58</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500a9f0359eb92872f327d8c040972e0aa96"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500a9f0359eb92872f327d8c040972e0aa96">wheels::rcFtp::ERR_UNSUPPORTED_PROTOCOL</a></div><div class="ttdeci">@ ERR_UNSUPPORTED_PROTOCOL</div><div class="ttdef"><b>定义</b> <a href="#l00038">ftp.hpp:38</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500ab31dbeea926e1b17b21f355a35478801"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ab31dbeea926e1b17b21f355a35478801">wheels::rcFtp::ERR_INIT_CURL</a></div><div class="ttdeci">@ ERR_INIT_CURL</div><div class="ttdef"><b>定义</b> <a href="#l00039">ftp.hpp:39</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500abd12f5d763a9f9db7b5ddbd579ef8db9"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500abd12f5d763a9f9db7b5ddbd579ef8db9">wheels::rcFtp::ERR_UPLOAD_OSS</a></div><div class="ttdeci">@ ERR_UPLOAD_OSS</div><div class="ttdef"><b>定义</b> <a href="#l00060">ftp.hpp:60</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500abd9249e5d19f7ca87445dcaf303a7892"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500abd9249e5d19f7ca87445dcaf303a7892">wheels::rcFtp::ERR_FILE_NOT_FOUND</a></div><div class="ttdeci">@ ERR_FILE_NOT_FOUND</div><div class="ttdef"><b>定义</b> <a href="#l00053">ftp.hpp:53</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500ae2d668e399be67d0a3f3cc767808f0ec"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ae2d668e399be67d0a3f3cc767808f0ec">wheels::rcFtp::ERR_FILE_DOWNLOAD_TRANSFER</a></div><div class="ttdeci">@ ERR_FILE_DOWNLOAD_TRANSFER</div><div class="ttdef"><b>定义</b> <a href="#l00041">ftp.hpp:41</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500ae399538b7187b996273121ccf83f39f7"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500ae399538b7187b996273121ccf83f39f7">wheels::rcFtp::ERR_CANCEL_TRANSFER</a></div><div class="ttdeci">@ ERR_CANCEL_TRANSFER</div><div class="ttdef"><b>定义</b> <a href="#l00037">ftp.hpp:37</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500aecda94542646d011fc0b2c3a7e69cb76"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500aecda94542646d011fc0b2c3a7e69cb76">wheels::rcFtp::ERR_OPEN_LOC_FILE</a></div><div class="ttdeci">@ ERR_OPEN_LOC_FILE</div><div class="ttdef"><b>定义</b> <a href="#l00049">ftp.hpp:49</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500af35653e0d0214f8ca0f074aa68a0573f"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500af35653e0d0214f8ca0f074aa68a0573f">wheels::rcFtp::ERR_CTX_NULL</a></div><div class="ttdeci">@ ERR_CTX_NULL</div><div class="ttdef"><b>定义</b> <a href="#l00043">ftp.hpp:43</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a4418821e1e44c7c156d7dafe54047500afd5eebb20fcad81dd647c7bfc24ea8f3"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a4418821e1e44c7c156d7dafe54047500afd5eebb20fcad81dd647c7bfc24ea8f3">wheels::rcFtp::ERR_INIT_FTP</a></div><div class="ttdeci">@ ERR_INIT_FTP</div><div class="ttdef"><b>定义</b> <a href="#l00057">ftp.hpp:57</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a57c3e910f6269807ad612ff5b4b281c8"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a57c3e910f6269807ad612ff5b4b281c8">wheels::rcFtp::on_ftp_size</a></div><div class="ttdeci">friend size_t on_ftp_size(char *ptr, size_t size, size_t nmemb, void *userdata)</div><div class="ttdoc">查询文件大小的回调操作函数</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00176">ftp.cpp:176</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a5ae893c969c2ac5d8ba25739abc68730"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a5ae893c969c2ac5d8ba25739abc68730">wheels::rcFtp::ftp_read_callback</a></div><div class="ttdeci">friend size_t ftp_read_callback(char *buffer, size_t size, size_t nitems, void *userdata)</div><div class="ttdoc">本地读取数据回调函数</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00136">ftp.cpp:136</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a62c80443e5766c330c895acf6c0bc222"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a62c80443e5766c330c895acf6c0bc222">wheels::rcFtp::rcFtp</a></div><div class="ttdeci">rcFtp(const std::string &amp;remote, const stParams &amp;params)</div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a6737af239f3babc772fdab3872184f8e"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a6737af239f3babc772fdab3872184f8e">wheels::rcFtp::on_recv_data</a></div><div class="ttdeci">int on_recv_data(stTransmit *desc)</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01051">ftp.cpp:1051</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a699e7c42cc9eb9adced71bde2df27bc9"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a699e7c42cc9eb9adced71bde2df27bc9">wheels::rcFtp::__on_progress_dwld</a></div><div class="ttdeci">void __on_progress_dwld(size_t now)</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00259">ftp.cpp:259</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a6d70210f18843851ad3923b3404ad215"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a6d70210f18843851ad3923b3404ad215">wheels::rcFtp::on_recv</a></div><div class="ttdeci">int on_recv(stTransmit *desc)</div><div class="ttdoc">接收到数据的回调函数</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01030">ftp.cpp:1030</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a7ec1b9fc998df668f7186d4aec49a1f6"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a7ec1b9fc998df668f7186d4aec49a1f6">wheels::rcFtp::curlFun</a></div><div class="ttdeci">size_t(* curlFun)(char *, size_t, size_t, void *)</div><div class="ttdef"><b>定义</b> <a href="#l00032">ftp.hpp:32</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a7fde73a8954d696d4c20036f2b2fb88a"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a7fde73a8954d696d4c20036f2b2fb88a">wheels::rcFtp::on_pause</a></div><div class="ttdeci">int on_pause(tribool_t status)</div><div class="ttdoc">响应暂停操作</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00273">ftp.cpp:273</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a82732fc970ea493e02771db2ab8ae2f0"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a82732fc970ea493e02771db2ab8ae2f0">wheels::rcFtp::~rcFtp</a></div><div class="ttdeci">virtual ~rcFtp()</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00244">ftp.cpp:244</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a9d18c1e33916f5cfd5ec5337a1a83bf0"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a9d18c1e33916f5cfd5ec5337a1a83bf0">wheels::rcFtp::errMsg</a></div><div class="ttdeci">static std::string errMsg(errCode e)</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01465">ftp.cpp:1465</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_a9fe4d96f8c353a76d024f44891d3ec3c"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#a9fe4d96f8c353a76d024f44891d3ec3c">wheels::rcFtp::size</a></div><div class="ttdeci">size_t size(const std::string &amp;file)</div><div class="ttdoc">读取远程文件的文件大小</div><div class="ttdef"><b>定义</b> <a href="#l00408">ftp.hpp:408</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_aa911005a1da240214dc59fea95a9420f"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#aa911005a1da240214dc59fea95a9420f">wheels::rcFtp::errCode</a></div><div class="ttdeci">emErrCode errCode</div><div class="ttdef"><b>定义</b> <a href="#l00063">ftp.hpp:63</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_aac753eda3a47f490bcce380af065eb83"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#aac753eda3a47f490bcce380af065eb83">wheels::rcFtp::setUser</a></div><div class="ttdeci">void setUser(const std::string &amp;acc, const std::string &amp;pswd)</div><div class="ttdoc">设置用户名和密码</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01193">ftp.cpp:1193</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_ab4776842675fcdd5f9603eff0f08ac34"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#ab4776842675fcdd5f9603eff0f08ac34">wheels::rcFtp::__on_progress</a></div><div class="ttdeci">void __on_progress(size_t now)</div><div class="ttdoc">传输过程中操作CURL回调函数</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00252">ftp.cpp:252</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_ab797fd58cb4433b3067e3c80c503049b"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#ab797fd58cb4433b3067e3c80c503049b">wheels::rcFtp::addUrl</a></div><div class="ttdeci">void addUrl(const std::string &amp;url)</div><div class="ttdoc">指定URL</div><div class="ttdef"><b>定义</b> <a href="#l00383">ftp.hpp:383</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_ab800a89be4ff0b6ab1bfba59c2788853"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#ab800a89be4ff0b6ab1bfba59c2788853">wheels::rcFtp::DEFAULT_BUF_SIZE</a></div><div class="ttdeci">static const size_t DEFAULT_BUF_SIZE</div><div class="ttdef"><b>定义</b> <a href="#l00033">ftp.hpp:33</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_abd71928204de24bea4388645d2c8fb04"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#abd71928204de24bea4388645d2c8fb04">wheels::rcFtp::del</a></div><div class="ttdeci">bool del(const std::string &amp;file)</div><div class="ttdoc">删除远程文件</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00784">ftp.cpp:784</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_abe03125733ec7a3f07754578f06a3781"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#abe03125733ec7a3f07754578f06a3781">wheels::rcFtp::on_nlist</a></div><div class="ttdeci">friend size_t on_nlist(char *ptr, size_t size, size_t nmemb, void *userdata)</div><div class="ttdoc">获取文件列表的回调操作函数</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00189">ftp.cpp:189</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_abf6786c7a86c028f0053082e2e1c4e7b"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#abf6786c7a86c028f0053082e2e1c4e7b">wheels::rcFtp::cd</a></div><div class="ttdeci">errCode cd(const std::string &amp;path)</div><div class="ttdoc">切换远程目录路径</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01005">ftp.cpp:1005</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_acacdb16f13dfa548fed1489bb0377672"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#acacdb16f13dfa548fed1489bb0377672">wheels::rcFtp::ftp_write_cb_data</a></div><div class="ttdeci">friend size_t ftp_write_cb_data(char *ptr, size_t size, size_t nmemb, void *userdata)</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00100">ftp.cpp:100</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_ad30d7938b76217dec401f1e4872fe70e"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#ad30d7938b76217dec401f1e4872fe70e">wheels::rcFtp::onConnectCb</a></div><div class="ttdeci">friend size_t onConnectCb(char *, size_t, size_t, void *)</div><div class="ttdoc">连接成功操作回调函数</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00053">ftp.cpp:53</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_ad907952d4633c663a0140a166182e127"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#ad907952d4633c663a0140a166182e127">wheels::rcFtp::onChkInst</a></div><div class="ttdeci">friend size_t onChkInst(char *buffer, size_t size, size_t nitems, void *userdata)</div><div class="ttdoc">检查服务器支持的指令操作数据回调函数。这个函数有CURL调用</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00040">ftp.cpp:40</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_ae326399018fc357f1044105305f00981"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#ae326399018fc357f1044105305f00981">wheels::rcFtp::run</a></div><div class="ttdeci">void run()</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00850">ftp.cpp:850</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_aef9602119ae2ab047761aedee7102589"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#aef9602119ae2ab047761aedee7102589">wheels::rcFtp::__onConnectErr</a></div><div class="ttdeci">void __onConnectErr()</div><div class="ttdoc">ftp对象数据给出错误。虽然这种情况的可能性不大。</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01300">ftp.cpp:1300</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_af2c2156ea5ae336749a9961bf69fa448"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#af2c2156ea5ae336749a9961bf69fa448">wheels::rcFtp::access</a></div><div class="ttdeci">errCode access(const std::string &amp;url, int type)</div><div class="ttdoc">和linux access函数一样，用来检查文件的可访问性</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l00980">ftp.cpp:980</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_af65aae7b4ab5d806c0c89867dc35d7f1"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#af65aae7b4ab5d806c0c89867dc35d7f1">wheels::rcFtp::isPause</a></div><div class="ttdeci">tribool_t isPause()</div><div class="ttdef"><b>定义</b> <a href="#l00419">ftp.hpp:419</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_af753d5035f92140059811ef91a3a65c9"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#af753d5035f92140059811ef91a3a65c9">wheels::rcFtp::__onChkInst</a></div><div class="ttdeci">void __onChkInst(const char *data, size_t len)</div><div class="ttdoc">响应检查FTP支持指令的情况</div><div class="ttdef"><b>定义</b> <a href="../../de/de3/ftp_8cpp_source.html#l01306">ftp.cpp:1306</a></div></div>
<div class="ttc" id="aclasswheels_1_1rc_ftp_html_af7f64eceebc17730a633c60e90147b75"><div class="ttname"><a href="../../d2/d96/classwheels_1_1rc_ftp.html#af7f64eceebc17730a633c60e90147b75">wheels::rcFtp::on_upld_progress</a></div><div class="ttdeci">friend int on_upld_progress(void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow)</div><div class="ttdef"><b>定义</b> <a href="../../de/d8b/details_2ftp_8cpp_source.html#l00154">ftp.cpp:154</a></div></div>
<div class="ttc" id="anamespacewheels_html"><div class="ttname"><a href="../../df/d8d/namespacewheels.html">wheels</a></div><div class="ttdoc">堆栈信息读取和保存记录</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00006">ary_str.hpp:7</a></div></div>
<div class="ttc" id="anamespacewheels_html_a17042f775c3493c1f9592ca7883dbd5e"><div class="ttname"><a href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">wheels::ArrayString</a></div><div class="ttdeci">ary_str ArrayString</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00010">ary_str.hpp:10</a></div></div>
<div class="ttc" id="astructst_params_html"><div class="ttname"><a href="../../d5/dd4/structst_params.html">stParams</a></div><div class="ttdef"><b>定义</b> <a href="../../d3/de0/http_file_8cpp_source.html#l00019">httpFile.cpp:20</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html">wheels::rcFtp::stParams</a></div><div class="ttdef"><b>定义</b> <a href="#l00065">ftp.hpp:65</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html_a081df58543043d34a00597cec22b1f85"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a081df58543043d34a00597cec22b1f85">wheels::rcFtp::stParams::stParams</a></div><div class="ttdeci">stParams(const stParams &amp;b)</div><div class="ttdef"><b>定义</b> <a href="#l00077">ftp.hpp:77</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html_a5c96f02e2d9b923f0bd86f742c4b9e64"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5c96f02e2d9b923f0bd86f742c4b9e64">wheels::rcFtp::stParams::stParams</a></div><div class="ttdeci">stParams()</div><div class="ttdef"><b>定义</b> <a href="#l00069">ftp.hpp:69</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html_a5cdbd2be708d6e73b1ce22d8a5422acc"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#a5cdbd2be708d6e73b1ce22d8a5422acc">wheels::rcFtp::stParams::m_passive</a></div><div class="ttdeci">bool m_passive</div><div class="ttdef"><b>定义</b> <a href="#l00066">ftp.hpp:66</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html_aab4e3a88ff8d57674889c4fa1b2a63c9"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#aab4e3a88ff8d57674889c4fa1b2a63c9">wheels::rcFtp::stParams::buf_size</a></div><div class="ttdeci">size_t buf_size</div><div class="ttdef"><b>定义</b> <a href="#l00068">ftp.hpp:68</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html_ae0389a8101355baa187a95fca01f235e"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#ae0389a8101355baa187a95fca01f235e">wheels::rcFtp::stParams::stParams</a></div><div class="ttdeci">stParams(bool p, bool b, size_t s=DEFAULT_BUF_SIZE)</div><div class="ttdef"><b>定义</b> <a href="#l00070">ftp.hpp:70</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html_afad4eb15c28321a56ecbb06007551624"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afad4eb15c28321a56ecbb06007551624">wheels::rcFtp::stParams::bin_ascii</a></div><div class="ttdeci">bool bin_ascii</div><div class="ttdef"><b>定义</b> <a href="#l00067">ftp.hpp:67</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_params_html_afd47e48e8482aca153dd1cdf83b110e3"><div class="ttname"><a href="../../dd/d2a/structwheels_1_1rc_ftp_1_1st_params.html#afd47e48e8482aca153dd1cdf83b110e3">wheels::rcFtp::stParams::operator=</a></div><div class="ttdeci">stParams &amp; operator=(const stParams &amp;b)</div><div class="ttdef"><b>定义</b> <a href="#l00084">ftp.hpp:84</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html">wheels::rcFtp::stTransmit</a></div><div class="ttdoc">传输描述符。在数据传输的过程中描述数据的传送状况喝操作状况</div><div class="ttdef"><b>定义</b> <a href="#l00097">ftp.hpp:97</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a576617b553ffd015daf60c7145e3da05"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a576617b553ffd015daf60c7145e3da05">wheels::rcFtp::stTransmit::m_final_off</a></div><div class="ttdeci">size_t m_final_off</div><div class="ttdef"><b>定义</b> <a href="#l00110">ftp.hpp:110</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a5c0b0f0fb78f3d74dfaeec350829197b"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a5c0b0f0fb78f3d74dfaeec350829197b">wheels::rcFtp::stTransmit::m_is</a></div><div class="ttdeci">std::ifstream m_is</div><div class="ttdef"><b>定义</b> <a href="#l00103">ftp.hpp:103</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a5dda9ee987ee4c1ed3c504c7fbfe8ad5"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a5dda9ee987ee4c1ed3c504c7fbfe8ad5">wheels::rcFtp::stTransmit::p_final_buffer</a></div><div class="ttdeci">char * p_final_buffer</div><div class="ttdoc">最后所有的数据都会保存在p_final_buffer所指出的内存中</div><div class="ttdef"><b>定义</b> <a href="#l00109">ftp.hpp:109</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a792262bcdfc07b6b4525015981e4ae2e"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a792262bcdfc07b6b4525015981e4ae2e">wheels::rcFtp::stTransmit::~stTransmit</a></div><div class="ttdeci">~stTransmit()</div><div class="ttdef"><b>定义</b> <a href="#l00113">ftp.hpp:113</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a7ba4196f2d16fb07dcf844bac4743cce"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a7ba4196f2d16fb07dcf844bac4743cce">wheels::rcFtp::stTransmit::m_buf_size</a></div><div class="ttdeci">size_t m_buf_size</div><div class="ttdef"><b>定义</b> <a href="#l00104">ftp.hpp:104</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a94fd293fab76f005a4cff14ce4145668"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a94fd293fab76f005a4cff14ce4145668">wheels::rcFtp::stTransmit::stTransmit</a></div><div class="ttdeci">stTransmit()</div><div class="ttdef"><b>定义</b> <a href="#l00112">ftp.hpp:112</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a97145fb81da64fa0c26955e8f23bab7a"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a97145fb81da64fa0c26955e8f23bab7a">wheels::rcFtp::stTransmit::p_os</a></div><div class="ttdeci">std::ofstream * p_os</div><div class="ttdef"><b>定义</b> <a href="#l00102">ftp.hpp:102</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_a9ea69ff54b6824d627bb9bd54e870ee1"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#a9ea69ff54b6824d627bb9bd54e870ee1">wheels::rcFtp::stTransmit::m_data_size</a></div><div class="ttdeci">size_t m_data_size</div><div class="ttdef"><b>定义</b> <a href="#l00105">ftp.hpp:105</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_aac68696c5de01b0d5ee3d4af64f1f6fc"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aac68696c5de01b0d5ee3d4af64f1f6fc">wheels::rcFtp::stTransmit::m_type</a></div><div class="ttdeci">tribool_t m_type</div><div class="ttdef"><b>定义</b> <a href="#l00099">ftp.hpp:99</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_aacb4e5c0a7f16ff494a00ae5427371d4"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aacb4e5c0a7f16ff494a00ae5427371d4">wheels::rcFtp::stTransmit::p_ftp</a></div><div class="ttdeci">rcFtp * p_ftp</div><div class="ttdef"><b>定义</b> <a href="#l00098">ftp.hpp:98</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_ad60847eac4385e2aa14bb3e36e3a101c"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#ad60847eac4385e2aa14bb3e36e3a101c">wheels::rcFtp::stTransmit::m_dest</a></div><div class="ttdeci">std::string m_dest</div><div class="ttdef"><b>定义</b> <a href="#l00101">ftp.hpp:101</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_aeb22cb0b7b8d8f4ce849aa3dca504675"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#aeb22cb0b7b8d8f4ce849aa3dca504675">wheels::rcFtp::stTransmit::p_buffer</a></div><div class="ttdeci">char * p_buffer</div><div class="ttdef"><b>定义</b> <a href="#l00106">ftp.hpp:106</a></div></div>
<div class="ttc" id="astructwheels_1_1rc_ftp_1_1st_transmit_html_af29acc37562e21cd1bfbf1791ac0af84"><div class="ttname"><a href="../../d0/d67/structwheels_1_1rc_ftp_1_1st_transmit.html#af29acc37562e21cd1bfbf1791ac0af84">wheels::rcFtp::stTransmit::m_from</a></div><div class="ttdeci">std::string m_from</div><div class="ttdef"><b>定义</b> <a href="#l00100">ftp.hpp:100</a></div></div>
<div class="ttc" id="atribool_8hpp_html"><div class="ttname"><a href="../../df/d78/tribool_8hpp.html">tribool.hpp</a></div></div>
<div class="ttc" id="atribool_8hpp_html_a74ed90a757246608e85275a8d14511c2"><div class="ttname"><a href="../../df/d78/tribool_8hpp.html#a74ed90a757246608e85275a8d14511c2">tribool_t</a></div><div class="ttdeci">char tribool_t</div><div class="ttdef"><b>定义</b> <a href="../../df/d78/tribool_8hpp_source.html#l00004">tribool.hpp:4</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
